FROM python:3.7

SHELL ["/bin/bash", "-c"]
ENV PYTHONPATH .
RUN mkdir /app
WORKDIR /app
COPY requirements.txt .

RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple --trusted-host=mirrors.aliyun.com

ENTRYPOINT ["/bin/bash"]
CMD ["/app/entry.sh"]